package com.example.demofdfs.test;

public class Text {

	private int text;
	
	public static void main(String[] args) {
		String text = "尊敬的客户，人保车险管家为您服务。车辆保险即将到期现为您报价：交强险855.00元，商业险";
		
		System.out.println(text.indexOf("元*"));
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + text;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Text other = (Text) obj;
		if (text != other.text)
			return false;
		return true;
	}

	// (o==null ? get(i)==null : o.equals(get(i)))
	// (o==null ? get(i)==null : o.equals(get(i))), 
	
	
	
}
